﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009D5 RID: 2517
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class KFOEKFBIOJE : IMessage<KFOEKFBIOJE>, IMessage, IEquatable<KFOEKFBIOJE>, IDeepCloneable<KFOEKFBIOJE>, IBufferMessage
	{
		// Token: 0x17001FD6 RID: 8150
		// (get) Token: 0x060070D9 RID: 28889 RVA: 0x0012DF87 File Offset: 0x0012C187
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<KFOEKFBIOJE> Parser
		{
			get
			{
				return KFOEKFBIOJE._parser;
			}
		}

		// Token: 0x17001FD7 RID: 8151
		// (get) Token: 0x060070DA RID: 28890 RVA: 0x0012DF8E File Offset: 0x0012C18E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return KFOEKFBIOJEReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001FD8 RID: 8152
		// (get) Token: 0x060070DB RID: 28891 RVA: 0x0012DFA0 File Offset: 0x0012C1A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return KFOEKFBIOJE.Descriptor;
			}
		}

		// Token: 0x060070DC RID: 28892 RVA: 0x0012DFA7 File Offset: 0x0012C1A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KFOEKFBIOJE()
		{
		}

		// Token: 0x060070DD RID: 28893 RVA: 0x0012DFBC File Offset: 0x0012C1BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KFOEKFBIOJE(KFOEKFBIOJE other) : this()
		{
			this.unlockedAeonEnhanceNum_ = other.unlockedAeonEnhanceNum_;
			this.gameAeonId_ = other.gameAeonId_;
			this.unlockedAeonNum_ = other.unlockedAeonNum_;
			this.isUnlocked_ = other.isUnlocked_;
			this.aeonIdList_ = other.aeonIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060070DE RID: 28894 RVA: 0x0012E021 File Offset: 0x0012C221
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KFOEKFBIOJE Clone()
		{
			return new KFOEKFBIOJE(this);
		}

		// Token: 0x17001FD9 RID: 8153
		// (get) Token: 0x060070DF RID: 28895 RVA: 0x0012E029 File Offset: 0x0012C229
		// (set) Token: 0x060070E0 RID: 28896 RVA: 0x0012E031 File Offset: 0x0012C231
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint UnlockedAeonEnhanceNum
		{
			get
			{
				return this.unlockedAeonEnhanceNum_;
			}
			set
			{
				this.unlockedAeonEnhanceNum_ = value;
			}
		}

		// Token: 0x17001FDA RID: 8154
		// (get) Token: 0x060070E1 RID: 28897 RVA: 0x0012E03A File Offset: 0x0012C23A
		// (set) Token: 0x060070E2 RID: 28898 RVA: 0x0012E042 File Offset: 0x0012C242
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GameAeonId
		{
			get
			{
				return this.gameAeonId_;
			}
			set
			{
				this.gameAeonId_ = value;
			}
		}

		// Token: 0x17001FDB RID: 8155
		// (get) Token: 0x060070E3 RID: 28899 RVA: 0x0012E04B File Offset: 0x0012C24B
		// (set) Token: 0x060070E4 RID: 28900 RVA: 0x0012E053 File Offset: 0x0012C253
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint UnlockedAeonNum
		{
			get
			{
				return this.unlockedAeonNum_;
			}
			set
			{
				this.unlockedAeonNum_ = value;
			}
		}

		// Token: 0x17001FDC RID: 8156
		// (get) Token: 0x060070E5 RID: 28901 RVA: 0x0012E05C File Offset: 0x0012C25C
		// (set) Token: 0x060070E6 RID: 28902 RVA: 0x0012E064 File Offset: 0x0012C264
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsUnlocked
		{
			get
			{
				return this.isUnlocked_;
			}
			set
			{
				this.isUnlocked_ = value;
			}
		}

		// Token: 0x17001FDD RID: 8157
		// (get) Token: 0x060070E7 RID: 28903 RVA: 0x0012E06D File Offset: 0x0012C26D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> AeonIdList
		{
			get
			{
				return this.aeonIdList_;
			}
		}

		// Token: 0x060070E8 RID: 28904 RVA: 0x0012E075 File Offset: 0x0012C275
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as KFOEKFBIOJE);
		}

		// Token: 0x060070E9 RID: 28905 RVA: 0x0012E084 File Offset: 0x0012C284
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(KFOEKFBIOJE other)
		{
			return other != null && (other == this || (this.UnlockedAeonEnhanceNum == other.UnlockedAeonEnhanceNum && this.GameAeonId == other.GameAeonId && this.UnlockedAeonNum == other.UnlockedAeonNum && this.IsUnlocked == other.IsUnlocked && this.aeonIdList_.Equals(other.aeonIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060070EA RID: 28906 RVA: 0x0012E104 File Offset: 0x0012C304
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.UnlockedAeonEnhanceNum != 0U)
			{
				num ^= this.UnlockedAeonEnhanceNum.GetHashCode();
			}
			if (this.GameAeonId != 0U)
			{
				num ^= this.GameAeonId.GetHashCode();
			}
			if (this.UnlockedAeonNum != 0U)
			{
				num ^= this.UnlockedAeonNum.GetHashCode();
			}
			if (this.IsUnlocked)
			{
				num ^= this.IsUnlocked.GetHashCode();
			}
			num ^= this.aeonIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060070EB RID: 28907 RVA: 0x0012E19C File Offset: 0x0012C39C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060070EC RID: 28908 RVA: 0x0012E1A4 File Offset: 0x0012C3A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060070ED RID: 28909 RVA: 0x0012E1B0 File Offset: 0x0012C3B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GameAeonId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.GameAeonId);
			}
			if (this.IsUnlocked)
			{
				output.WriteRawTag(32);
				output.WriteBool(this.IsUnlocked);
			}
			if (this.UnlockedAeonNum != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.UnlockedAeonNum);
			}
			if (this.UnlockedAeonEnhanceNum != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.UnlockedAeonEnhanceNum);
			}
			this.aeonIdList_.WriteTo(ref output, KFOEKFBIOJE._repeated_aeonIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060070EE RID: 28910 RVA: 0x0012E254 File Offset: 0x0012C454
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.UnlockedAeonEnhanceNum != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.UnlockedAeonEnhanceNum);
			}
			if (this.GameAeonId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GameAeonId);
			}
			if (this.UnlockedAeonNum != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.UnlockedAeonNum);
			}
			if (this.IsUnlocked)
			{
				num += 2;
			}
			num += this.aeonIdList_.CalculateSize(KFOEKFBIOJE._repeated_aeonIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060070EF RID: 28911 RVA: 0x0012E2E4 File Offset: 0x0012C4E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(KFOEKFBIOJE other)
		{
			if (other == null)
			{
				return;
			}
			if (other.UnlockedAeonEnhanceNum != 0U)
			{
				this.UnlockedAeonEnhanceNum = other.UnlockedAeonEnhanceNum;
			}
			if (other.GameAeonId != 0U)
			{
				this.GameAeonId = other.GameAeonId;
			}
			if (other.UnlockedAeonNum != 0U)
			{
				this.UnlockedAeonNum = other.UnlockedAeonNum;
			}
			if (other.IsUnlocked)
			{
				this.IsUnlocked = other.IsUnlocked;
			}
			this.aeonIdList_.Add(other.aeonIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060070F0 RID: 28912 RVA: 0x0012E36D File Offset: 0x0012C56D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060070F1 RID: 28913 RVA: 0x0012E378 File Offset: 0x0012C578
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 40U)
				{
					if (num == 24U)
					{
						this.GameAeonId = input.ReadUInt32();
						continue;
					}
					if (num == 32U)
					{
						this.IsUnlocked = input.ReadBool();
						continue;
					}
					if (num == 40U)
					{
						this.UnlockedAeonNum = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 48U)
					{
						this.UnlockedAeonEnhanceNum = input.ReadUInt32();
						continue;
					}
					if (num == 112U || num == 114U)
					{
						this.aeonIdList_.AddEntriesFrom(ref input, KFOEKFBIOJE._repeated_aeonIdList_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002B06 RID: 11014
		private static readonly MessageParser<KFOEKFBIOJE> _parser = new MessageParser<KFOEKFBIOJE>(() => new KFOEKFBIOJE());

		// Token: 0x04002B07 RID: 11015
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002B08 RID: 11016
		public const int UnlockedAeonEnhanceNumFieldNumber = 6;

		// Token: 0x04002B09 RID: 11017
		private uint unlockedAeonEnhanceNum_;

		// Token: 0x04002B0A RID: 11018
		public const int GameAeonIdFieldNumber = 3;

		// Token: 0x04002B0B RID: 11019
		private uint gameAeonId_;

		// Token: 0x04002B0C RID: 11020
		public const int UnlockedAeonNumFieldNumber = 5;

		// Token: 0x04002B0D RID: 11021
		private uint unlockedAeonNum_;

		// Token: 0x04002B0E RID: 11022
		public const int IsUnlockedFieldNumber = 4;

		// Token: 0x04002B0F RID: 11023
		private bool isUnlocked_;

		// Token: 0x04002B10 RID: 11024
		public const int AeonIdListFieldNumber = 14;

		// Token: 0x04002B11 RID: 11025
		private static readonly FieldCodec<uint> _repeated_aeonIdList_codec = FieldCodec.ForUInt32(114U);

		// Token: 0x04002B12 RID: 11026
		private readonly RepeatedField<uint> aeonIdList_ = new RepeatedField<uint>();
	}
}
